package com.net.oil.main.bean;

import java.util.List;

/**
 * 作者：lch
 * 时间：2018/3/28:10:43
 * 邮箱：245850413@qq.com
 * 说明：
 */

public class City {
    private String id;
    private String name;
    private List<ChildrenBeanX> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ChildrenBeanX> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBeanX> children) {
        this.children = children;
    }

    public static class ChildrenBeanX {
        /**
         * id : 110100
         * name : 北京市
         * children : [{"id":"110101","name":"东城区","children":[]},{"id":"110102","name":"西城区","children":[]},{"id":"110103","name":"崇文区","children":[]},{"id":"110104","name":"宣武区","children":[]},{"id":"110105","name":"朝阳区","children":[]},{"id":"110106","name":"丰台区","children":[]},{"id":"110107","name":"石景山区","children":[]},{"id":"110108","name":"海淀区","children":[]},{"id":"110109","name":"门头沟区","children":[]},{"id":"110111","name":"房山区","children":[]},{"id":"110112","name":"通州区","children":[]},{"id":"110113","name":"顺义区","children":[]},{"id":"110114","name":"昌平区","children":[]},{"id":"110115","name":"大兴区","children":[]},{"id":"110116","name":"怀柔区","children":[]},{"id":"110117","name":"平谷区","children":[]},{"id":"110228","name":"密云县","children":[]},{"id":"110229","name":"延庆县","children":[]},{"id":"110230","name":"其它区","children":[]}]
         */

        private String id;
        private String name;
        private List<ChildrenBean> children;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public List<ChildrenBean> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.children = children;
        }

        public static class ChildrenBean {
            /**
             * id : 110101
             * name : 东城区
             * children : []
             */

            private String id;
            private String name;
            private List<?> children;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<?> getChildren() {
                return children;
            }

            public void setChildren(List<?> children) {
                this.children = children;
            }
        }
    }
}
